Now works when called from outside the directory