add missing clean task and image optimization task