Updated getcmdln to return the name of the script as the first value in args to be consistent with the builtin argv array