enable --max_tx flag + set encoder seed with time(0)