# Loop through and delete security groups                
	    for group in security_groups: 
            	tester.delete_group(group)

	    #
	    # Take snapshot of iptables on CC
	    #


            tester.delete_keypair(keypair)
	    os.remove(keypath)

            options.runs -= 1
            if tester.fail_count > 0: 
                fail += 1
                tester.fail_log = []
                if options.exit_on_fail:
                    tester.fail_count= fail
                    tester.do_exit()
            else:
                success += 1
            tester.fail_count = 0     
            tester.running_log = []
            #tester.tee( "*************************************************************")
            #tester.tee( "* Ran " + str( fail + success ) + " times")
            #tester.tee( "* Success: " + str(success) + " Failures: " + str(fail))
            #tester.tee( "*************************************************************")                      
    except KeyboardInterrupt:
        exit(1)