Simplify __main__ specific block.

Most of the options were removed and replaced with -p/--print-only.