Fixed it so that discovering url parameters works