made changes to errorGen, uses opt parse now