Implement cluster binary scripting commands. Add tests