Added init for spout dir.