Replace current dir with dirname of __FILE__
Add missing DIR_ROOT in require statements