added version printing (rudimentary)