wrote link-scripts.sh