Added env to pbj.php and added $PBJ_PROTOCOL variable