the appname can now be set from the handler's constructor