Updated to allow tabs to open in the background