add command-line flags
add build script, add mux dep