extract and populate app name