Improve comparability

Use argparse & provide various configuration options.
Fix shebang