changes needed for Paywall Plugin