updated nav script