re-order directions

local config must be installed first