\RequirePackage{pstricks}
\@ifundefined{pst@getref}
  {\RequirePackage{pst-tree}}
  {\RequirePackage{pst-beta}}
