Cahnging how registry works