adding img optimization task and optimizing current images