Google spreadsheet integration not functioning properly