study plan document generation