Various experiments with google apps script