I ran a debug on the test script and received an error msg. say an unknow or unexcpeted command [writelog]! writelog ($logtext + $x)