Replaced amdWrapper by amd