Added image save and working on image load