Add code to drive.js to write to new and existing Drive files