added settings support