slash added back to url.
Added static to pear function