use base instead of use vars with @ISA
Report exact set publisher command if it fails
Change if @var > 0 to just @var