Update play.sh

extended funcnality