Fixed the paths for the cat files in the script.