added apply-amps script