rebuilding old main, bash-completion