added dig-like formatting for output and tracking of executing (and not query) times