Fixed variable scoping issue
Bumped version