moved BrowseOutputDirectory to here