Replace old scripts for local prime- libs.