adding missing reference to function used in the script