LIVEOAK-479: Fix NPE when trying to create and update scripts through the endpoints.
Merge pull request #280 from mwringe/LIVEOAK-479

LIVEOAK-479