Hi Scott-e,
I am not sure I understood your question. For instance, can you give more details at what you are trying to do.
When you mention that you need to initialize the boolean by reading their associated ON/OFF status, do you mean that the status is in textual form?
I modified your code to include initialization of the boolean from the text. I included initialization (extra default) for a case where no text is present.
As I stated earlier, I am not sure that I understood your question, please provide more details so that I may more accurately provide a response.
Regards,
JLV