Run autoSync only in production