From the sounds of it, you are pointing to folders hardcoded (and filenames) you need to change that.