I am having a problem currently where I call on a function which opens a google sheet and makes changes to it, but I need to commit the changes during the function call. Example