Combine both versions of cache cleaning lua script in one.
Merge pull request #58 from nemphys/lua-cleanup

Combine both versions of cache cleaning lua script in one.