Added rudimentry version output
Fixed version output function call