Finally, after everything else, move doptions to the correct place.