fixed hook script
+ syntax error in json