Added blockDir and itemDir