created global script