added support for cybox output. changed Tk imports to work with python 2.6