add APPNAME
change to APPNAME