modified APDU utility