adding the deploy hook for old UI and removing the deploy hook for new UI