Enable/disable menu options based on whether the commands are available