Renamed makesymlinks and added check if files exist before moving them