Bug fixed with app initialization

It's currently broken app support was dropped by accident