smartapps are written in groovy