add better option parsing and wildcard