package versioned, added onEveryPage option