Updating action hook script