Completed script