changed to use only single-quotes
removed all uses of: endfor, endswitch, endif