working on spark ec2 script