Updated Upload script