You might find my response and this whole topic to be useful in terms of setting up an if/else block: