linking scripts