changing the speed spawn script