Method Runscript(ProcedureName: string)
Description
Runs the script if the user has sufficient rights to do so. When the script contains multiple functions, the name of the function can be specified. If no name is specified, then the Main function is executed.