added copy and min tasks for leaflet images