loading config in EAD template