fixed bug in script code - missing parenthesis