Completed the part5 script.