added gm script generating to dev
implemented local cache