adding mirroring scripts