AMIA update

Please accept my crucial changes to this file. It's very secure.