Port bash run script functionality to dcm-convert
Port bash run script functionality to dcm-convert