fixed enterprise if statement to work (end needs to use a variable)
Merge pull request #1 from warroyo/patch-4

fixed enterprise if statement to work (end needs to use a variable)