adding firebug and adding pr functionality to acces pr objecst