set up options parsing