init the work config