Allow typing in directory setting

closes #479