added a tool to rebuild batch scripts