Fixed script error, CORE-337
Merge pull request #1898 from reciprocity/hotfix/script-error-CORE-337

Fixed script error, CORE-337