mostly fixed spawn_ec2_instances.py