getopt added to pdb_extract