Make routers compatible with heroku