update to master, fix deprecations
basic support for config / macros