complete the script