remove support for data-main, add support for data-config