lead-app requires calling init_app