now the option navFrameScript fully works