No need to redefine opts.
Add missing semicolons.