adds newcommands and saves workd