FIXUP: really check the working directory