store selected directory
wrap missing log methods
set default value for type  confirm