Make more use of common.sh. Trying to get the video configured as early as possible.