added a rainbarf loop script for simple memory monitoring