Changed format in which url is supplied to make it more compatible with apache.