Fixed path issues for copying files