Added the script to handle the deploy hooks