Fixed up the Batfile a bit, cleared a variable after finished using it