script to start application