Modified version of ppp with additional hooks