if the ChanStats.dat is into the D:\mIRC\System direction you must change all the $DC.Dir(mBOT\ChanStats.dat) to $DC.Dir(ChanStats.dat) the same and with the other files..