cleaned up config cli arg parsing a bit