add documentation + config fixing