code: public static String[] createScriptArgs(
              final Map<String, Map<String, String>> localDataContext,
              final String scriptargs,
              final String[] scriptargsarr,
              final String scriptinterpreter,
              final boolean interpreterargsquoted, final String filepath
      ) {
          return createScriptArgs(
                  localDataContext, null, scriptargs, scriptargsarr, scriptinterpreter,
                  interpreterargsquoted, filepath
          );
      }
docs: Generate argument array for a script file invocation
  
  @param localDataContext      data context properties to expand among the args
  @param scriptargs            arguments to the script file
  @param scriptargsarr         arguments to the script file as an array
  @param scriptinterpreter     interpreter invocation for the file, or null to invoke it directly
  @param interpreterargsquoted if true, pass the script file and args as a single argument to the interpreter
  @param filepath              remote filepath for the script
  
  @return args