fix for splitting with option items, permissions for log dir
build