Added document scan for VCS. SOme more cosmetic changes