Updated the rbnb_running function to be non-repetitive.