Made work with scrib 2.0.5

2.0.5 compatible; takes advantage of new portability.