Update beanstalk conf to loadbalanced
Clean up code