minor modifications to Cache Daemon