Silly me i was editing an older version of the code. Should be fixed now!
Thank you!! it works amazing now. You're awesome!!!