Switch away from webbrick and change average from triangle to square