automation scripts (using perl, bat and xml)