If you use --script with arguments, these arguments are ignored. When running the script I avoid the ambiguity where both the script and array of arguments are run by throwing an error if the script has any arguments.