Make digi helpers work hopefully in more situations
Set some env stuff for xcode