Moved get running version into seperate method