Added support for amd loading (untested hurhurhur)