batch script support