fixed launch_cmp(), restored launch_app.R