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