modified listen and start for correct directory