update conditional for setting antsFlag and elastixFlag
update conditional for setting antsFlag and elastixFlag

cerr/CERR,aditiiyer/CERR,aditiiyer/CERR,cerr/CERR,aditiiyer/CERR,cerr/CERR,cerr/CERR,aditiiyer/CERR,aditiiyer/CERR,cerr/CERR,aditiiyer/CERR,aditiiyer/CERR,cerr/CERR,cerr/CERR,aditiiyer/CERR,cerr/CERR,cerr/CERR