Use local environment variable
Check that setting is a directory