Fixed the bash script so that it actually cleans everything.
Added more detail to the question Mik raised.