cleaned up the Quick clean script

Cleaned up quick clean script based on the suggestions by burkean.