A Version that works on beanstalk