Working script on ec2