updated calling script