new registry script