add the ifelse case to h2o.exec r unit