change cfg working dir