Script to launch a bunch of AMIs and run a command on them