run_app improvement