Use optparse, support --help, --version
Flag to show scores of matches
Add non-interactive invocation