add urls variables to base page