check if box is up when runing replay.sh