cleaning up and preparing web hook for use