Fixed the binary and modified some config files