moved to aegir::tools
cleanup