mer script