Works perfect, thanks.
For anyone trying that solution, remember to call that function with an await
await