Fixed the script such that the first part works