To modify the registry code