Directory mode. Added config via object