updated image_optim dependancy and removed references to pngout