Some changes to app_amd.