Fixed variable reference in conditional load.
Merge pull request #27 from pjackson28/master

Fixed variable reference in conditional load