Do I have to specify a remote shared object in the onsync event of my main application ? What are the consequences of not setting the object in the main applications onSync events?

Because i have a remote shared object that works properly as long as i don't specify it in the onsync event of the main application........the object is being set as =*1 +1; in the main application

The initial value of is being set outside the main application in an admin console to the value of 1.