Read boolean flags using Boolean.parseBoolean()
Previous code used Boolean.getBoolean() which deals with system
properties.