Replaced opts and made func_name the default message