moved methods to disable commands to their own class