creating upload script