restore RELEASE file generation, new class, suboptimal but makes it for now