spawn script update