added setspawn command