Added some deployment logging
Added hooks