added AMD export support