Init config first in worker