Adding auto sync and auto publish