add script to run nm if not already running