Add free memory script