add script to trigger refresh