new script to put nav bar in correct order