moved scoring_url code to cookbook