Add option parsing to executable