improvements to clean.bash