Add a variable to enable/disable sync