Fixed the script so that it actually cleans (I hope)