comlete the script