Clean bash_logout; add mkdir_p to link script.