Added automatic varnish clearing