fixed script errors
Merge pull request #3 from dextorer/master

fixed scripts and tested the new version