removing unused commands