Added handling for opening the URL in the browser for both Macs and Linux since they use different commands for this action