Modified mc_hms_single to output to outfiles and worksim subdirectories