Moved echoing of output outside if statement
Initialised
Merge pull request #4 from martin-hewitt/master

Moved echoing of output outside if statement