Some improvements in vcdcd.pl