config changed to data-attrs