refactor a few funcs just a tad & make deploy finish not require a version number if currently on a checkout out deploy branch
tweak sed usage a bit