writing app script to launch application, closes #183