I have this script it works ok. But, it ignores the blank rows after the last record row in the sheet. Instead it adds a whole new row to the end of the sheet for the new record