using a global script