pass route object to onexec handler
added default for accept