updated navscript