Modified URLs to play nicely in both localhost and server