Changed option parser to argparse

The opt parser package is deprecated