Add connect_to_region/region functions for beanstalk