Got image saving working again