added flag for printing version and revision