feature enhancement

moved were we set the bash nounset flag, to avoid problems with bash
initialization scripts.