Loosen dependency on directory