add core directories