Added Check to See if Base directory is Present