better doc watch script