So this can't be done with a simple bash (shell) script instead? Also this leaves a terminal window on the screen every time I run it. And directly executing Sublime text 2 beta from terminal spawns a new instance of the app instead of invoking the already running instance.