Only some changes, if you want to know how it works read all the notes i have make on the code.
Thanks @cookiecat3210 for the original project