check for existence before sourcing