remove console logs and add image upload