Restarting as Flask/Python app