bugfix to write convenience script even if no instances exist.  refactor code a little to move more functions into EC2Stack class