Added sync command execution option