Added getbibrefs function