wrote a php cli script to handle restarting the apple tv