made passing a variable in the url work with basic echo of variable