Script help functions
Now recognises help and version switches