appended ks_domain_controller.py