Adding fields breaks my Google sheet script