Added path config options for AMD and fixed some path handling bugs