Fixes for the memory preassure script

Signed-off-by: Joe Buck <jbbuck@gmail.com>