Added ability to save images