adding cachedir