Fixed insecure script errors and options being undefined
Merge pull request #19 from zuwow/master

Fixed insecure script errors and options being undefined