changed postExtract to dir