Thirdly modified the script