Removed debug prints
Updated kb control script