use environment variables instead, stop propagation on tab click