make iv.sh executable
set up some basic config checking