add write depth to config options

fixes #4