Changed the way hotloading find dirs