deploying with hooks and amqp