these hooks should be defined in the deploy block