build cfg and propertys