Use console_scripts entry point
Use argparse, not optparse
use logging, not print