use get/set for local registry file
move the registry call to initialize, so that path can be correctly set