Updated the mongo reader for ec2