Fixed problem with opts.path