Commented out all code which relates to figures and change image type to reflect the new format