changed eval script to new interface