Fixed issue #1 - parameter variables are not reset after running the script