change to correct tab on refresh script