Updated nav script