Usage()

        return opts
            
    def Usage ():
        print "Usage: python scrape.py -d <Directory>"
        print "       Where: <Directory> is the path of the directory where Vardcentraler.csv and other csv files are kept"
        sys.exit(2)

    opts = main(sys.argv[1:])

    directory = opts[0][1]

    m_hitta = hitta()

    heading_hitta=[
        'URL',
        'SEARCH_NAME',
        'FOUND_NAME',
        'ADDRESS',
        'ZIP',
        'CITY',
        'PHONE',
        'WEBSITE',
    ]

    m_csv_hitta = csv_hitta(fname=directory + '/hitta_primary_clinic_result.csv', heading=heading_hitta)

    m_hitta.search()

            
    def Usage ():
        print "Usage: python scrape.py -d <Directory>"
        print "       Where: <Directory> is the path of the directory where Vardcentraler.csv and other csv files are kept"
        sys.exit(2)

    opts = main(sys.argv[1:])

    directory = opts[0][1]

    vcsv = vardcentraler_csv(directory + "/Vardcentraler.csv")
    m_hitta = hitta()

    heading_hitta=[
        'URL',
        'SEARCH_NAME',
        'FOUND_NAME',
        'ADDRESS',
        'ZIP',
        'CITY',
        'PHONE',
        'WEBSITE',
        'MATCHING_CRITERIA'
    ]

    m_csv_hitta = csv_hitta(fname= directory + '/hitta_result.csv', heading=heading_hitta)

    for row_h in vcsv.read():
        m_hitta.search(row_h)