Added missing pclose - xp can now call itself