LIVEOAK-47: Minor bug fixes to the script module.
Merge pull request #264 from mwringe/LIVEOAK-47

LIVEOAK-47: Minor bug fixes to the script module.