Added dev flag, remove index.html from urls on production