Hello!
Another idea can be to configure the run time setting for logging to "Extended Log" and "Parameter Substitution". After you have executed the script have a look to the replay log and find the lines with "Notify: Saving Parameter". This will show you the names and values of the parameters.
Regards
Thomas