Updating the script. Form part done