add interactive flag for apps. fix bugs with app loading