Enormous Performance Improvement

Using boolean attributes makes the tool run instantly instead of taking
3-5 minutes!