changing API to /score/url and /score/image