Added command publisher and script recording