Fixed var scoping bug
Bumped version