scripts mrep