Added option to keep rendered images