correcting BAG_PATH env var name (from BAGPATH)