Added exception handling for not loading a classlist before hitting
generate