'ERROR : Cannot use parentheses when calling a Sub - [line 1]
This is a typical VBScript error indicating that your syntax is wrong: you may be using parentheses around the arguments without getting a return value. For example:
LogMessage( "cube*" )
Make sure your script uses the following syntax when not getting return values:
LogMessage "cube*"
For more information on return values, see Data Types and Return Values.