Added generate.slide