Added check for resus checkbox