script to check whether the box is still online