added amd and other export support