removed print and removed hardcode for amqp settings