add jexec binary and fix write_slaves function output