small improvements

added external configuration