working on nav script