fixed bug in scripts
Merge pull request #85 from alexmckenley/dev

fixed bug in scripts