tail -n 15 /tmp/advancedmd-mcp.log > /tmp/dtail.txt 2>&1
echo WROTE_DTAIL
