add preliminary scoring code to static_pages_controller.rb