When running as a command-line app, strip the name of the script form the args