Changed order of batch script