Trying to automate some of the manual things I do and ChatGPT kept on failing to complete it, and started from the beginning each time. The following worked for me if anyone else is going through the same issue XD