handling wildcard routes, added version printout