first revision of victor and popsb scripts