Add option to turn off external directory