Consolidate "vid" scripts