…to that path. This fixes problems where you run the script from a different working directory. Without the fix the script fails if it is run from another location. This fix is needed to support running .appjs files from anywhere on the computer.
Passed first command line argument into app.js (this is needed to pass the script the name of the .appjs file to run.