Added a check for BeenGone
Changed from ${1} to ${?}