Tidying up code and removing closing PHP tag
Merge pull request #1 from mikestreety/patch-1

Tidying up code and removing closing PHP tag