Input field replaced by a dropdown to select the directory in worst case visuliation fails