Changed the get rows function to work with one row in the spreadsheet