added tagging and versioning script
added debug parameter, update default ec2 api version