locate: finish the modernising and improve all the things
scripts: bring in forgotten copyright header