Remove superfluos newlines on script invocation

As a result of switching to a short range operator test, the printf's
were executed independent of the test.

Forcing the printf's to be executed as a statement conditional to the
testing, fixes this issue.