basic script for lesson generation, and 1/4 done