modified play script to use new interface