make sure the files are going to the right directory