Scripts to add functions in Google Docs