Modifying global deploy hook