fixes for cmsrun processÂ
adding non-mp function for easy debugging)