Fixed script error, CORE-337