fix global variable

add some error checking to ensure performance with loading `AlfredBundler.scpt`
remove old `test.sh` file