teaked image cacher to work with cron job