updates to get working on ec2