Fixes code for DriveApp