at last, fixed gl_ec2 script to work with new ami image