If opts is a string, treat it as entry path
Merge pull request #13 from Techwraith/entry-path

If opts is a string, treat it as entry path