Attempt #1 at implementing the directory fix.  Before debugging.