First working version of the google doc upload script