longhorn batch script updates