Added sync scripting