Use the APPID variable in mpdm_app_dir().