fix directory creation
set discovery properties