better config and documentation