added image save and render support