Make this work in sub directories.