Updated batch script from zion