Scripting not compiling due to missing semi colon
Shared state is now working for offline and online