added option to use external ros nodehandle