added code to cache variable for include path