added pallet script and html graph renderer