recognize dist directory