updated z_spawn to z_spawn_old so it works again