slight tweaks to mirror script and calls