using cfgfunctions to define functions, call instead of spawn
Merge branch 'master' of https://github.com/KoffeinFlummi/AGM