Removed dead import
Reverses routes depending on location