modified save function of package.json, added stats & services cli options