refactored to use build tool roots