the cleaning script is a bit ugly right now