batch script updated for canopy