Added logic to make boolean table options true/false vs 0 or 1