VID-1013 Script to do some accounting