Added image uploads for mercury