Updated to use ks mirror injection