Upload bug fix. Added new partition as parameter