Update OnLoad.php

To apply role-based configs