Preparing for dir
Moved directory to index to option