deploy hooks formatting