Fixed image upload and added uuid.