optimizing images, fixed some typos, updated hooks