bugfix: framework for external tools