data-main, data-config support