Trimmed the bat-file