add gem order_query, expand on ec2 & psql