Fix for script typos (a var and a comma missing)
Merge pull request #3 from cedmax/patch-1

Fix for script typos