adding in alamode-generate as well as some of the data generation code