small simplification of setup tools helper function