updated glm_bench for running on ec2