if os.path.exists(drive + ":\ACD " + str (int(year) -1)  ):
        answer = raw_input ("Starting a new year will delete all records last year from the flash drive. Do you want the records deleted? (y/n)")
        if answer.lower() == 'y':
            shutil.rmtree(drive + ":\ACD " + str (int(year) -1))
        else:
            print "The records were not deleted. Please note how much space is available on the flash drive."
    BACKUP = drive + ":\ACD Reports\ACD " + year  

    answer = raw_input("Enter 0: to only copy the new files. (much faster) \n" + "Enter 1: to copy and overwrite all files. (Takes longer, but useful if the other method doesn't work.)")
    # create a backup directory
    print "Copying...Please Wait"
    if (answer == 1):
        functions.copy_and_overwrite(SOURCE, BACKUP)
    if (answer == 0):
        functions.copy_new_files(SOURCE,BACKUP)
    print "Done Copying ACD Reports for " +year
    
#starts extracting the relevant records

print "Starting to read through the records..."


admissrecords = []
helprecords = []
sfsrecords = []

def data_crawl(dept, records, startday):
    months = ['january', 'february','march','april','may', 'june', 'july', 'august','september','october','november','december']
    l = startday
    dummymonth = startmonth
import os, shutil, sys, string, functions

# finds out what drive the flash drive is mounted to. 
 #list of all letters are other stuff at the end but mostly letters



drive = functions.find_drive()
year = ""

BACKUP = "Z:ACD Reports\ACD Reports\ACD "

year = raw_input("What year do you want to copy? (Ex 2013, etc.)")

print "All new files for HELP, SFS, and ADMISS will be backed up to the network drive. \n"
print "Copying...Please Wait..."
#copy_and_overwrite( drive+ ":\ACD Reports\ACD " + year, "Z:\ACD Reports\ACD Reports\ACD " +year)
functions.copy_new_files( drive+ ":\ACD Reports\ACD " + year, "Z:\ACD Reports\ACD Reports\ACD " +year)

print "Done"