script to link