fixed bug in script - missing parenthesis