Correct settings for sub directories etc