Added function to only build url parameters.