merged globals script