Changed generateOutput to also consider whether difficulty selection
is enabled or not