png and jpg size optimization scripts