KSPTOTConnect plugin code