Google Script to automatically run SQR based on given criteria and export to Google SpreadSheet