Added env. variable calls to do files.