take into account user options when using a router

related to #372