script/generate: 'annotation' & 'annotations-all' modes added