added image updates, changed order of saving for external print script