Added optional AMD loading