Corrct the script variable for Bugfix-Issue-1315