Add output directory and hex pattern flags