add owner/group to config file and adjust mode and include tests