Run an if-else once

Take a look at this: