correct the paths in the script files