Added progressbar to upload process