make LaunchMyApp work