Debugged Spawn script