Make sure we have all variables defined