support capitalized option names in extract/prepare