support launchApp; improve mapping replacement