Work on getting the bat proxy scripts converted

It "works", but the files that are written won't install correctly.