edits files to correctly route
edits files to correctly route