Moved the disable_bytecode_generation outside of the load_party_file() function