scripts for the new interface