Changed the beanstalkd file to use a template instead