Remove Debug code from command