reordering batch scripts