change how version and revision information is obtained, fix the issue where web server never initializes