aisap-am became part of AM
https://github.com/ivan-hc/AM
You no longer have to use this script. As AM has the function built in.