mirror script