making bash includes more resilient