uploading data and script file