2014.12.07.1457 : corrected error in upload function necessary for scratch drive execution