Propogating the Directory Change to Code/Json