Fixing bug when including scripts in "mk.d" directory.