Script to generate objective notes