modified code.gs