adding support for EC2