continued editing on makeflow chdir option
have elimiated the chdir_mode variable and elimiated initializing change_dir as NULL.