implemented $RAWDOG variable