cleaned ec2_initalize