fixed so it runs from binaries bat