changing up logic for exclude from menu