Generate AMD scripts