Sped up wall finding and fixed script error.