compound.seed accepts dir as arg