removed redudant settings.valid_commands