changed filepaths from home to index