edited the logic for the spectator commands