Update AM scripts to support aarch64