include memory free script