changed default opts
added npm opt path and options for command.run