More tweaks to script

clean script now accepts argument, cleaner tar.gz package, some
optimization