Added dynamic appname