Added functionality to upload differet content