handle gazebo plugin and resource paths