Update copy{In,Out} scripts to use the location of the script as the base directory