Move option parsing down