Refactor ST_BOOL settings