Added ability to set the application to launch on startup