Updated to mirror script changes