added some key stuff to gen_files