Fix part of #22

Global command line flag for generating annot files