changes the way to start the app