add core direcroty