Development of uploadScript