Add script to diagnose path