move app meta-data creation into separate function