Made url configurable.