Implemented lua/clean.lua