change script to only run on the browse page