Implemented cleaning script