load script first