Add onesync

It may be the solution [How-to] Adapt your script to OneSync and fix your issues