Check for some dependencies
Only set -x after doing initial setup