Move show/hide script to site level