[#65804068] tweaked the gsub to work with all endpoints instead of just companies