init: simplify options handling