nav script modified