pass appropriate values to play script