Added function call in the script.