issue #32: added secureCommands options
fixed jshint errors