Updated example, added the possibility to define custom recv pass subroutine config