callbacks can now modify gen options, too, closes #320