Refining Else If script

Refining Else If script but it is not executing correctly