issue with -schedule option in function_DTI_CHARMED_flirt_custom_template solved