replace hardcoded app name with var