added delay and queue on image optimizer