Adding loadScript