Merge pull request #2 from ralphtheninja/master

fixed opts.name bug