removed $appname