Broadcast script works correctly