update input-output path of script