Fix the options.dir setting