Added more logic to help with image syncing to Parse