in reply to registry problems

"IF" should be "if",
"ELSE" should be "else"