Modifying to support trailing returns in nameList parameter

Fixing a bug discovered by Mark Scott after adding trailing returns to
the return values of the Script*ParameterList functions