Set registry in the right place