add amd wrapper and rename script