contrib/oot.sh: allow an optional list argument