adding script to upload data