add ability to disable directoryIndex option