put cache and image directories in home directory