dynamically read appname