Added ability to upload images