added ability to upload image (ugly solution)