script to link vips