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

fixed bug in scripts
Merge pull request #86 from malucky/dev

Fixed problem with rerouting and modal