Added working index page publish button
Added aggressive hard reset in app.get_repo()