update script input-output path