Can't get getConfig from template call, getting it from the event caller
Fix passing around of variables; fix config retrieval