Tweaked script for nav indicators