write to client through stampede and not format
make local variables for keywords in regex