wire up deploy hooks