a working version of bamtowig for my server