add to list core and theme dir