support dynamic config import in package