changes to enable image uploads in serene sample