refactor spawn command