Put the hook script in place