changed to use format instead of renderset, gen PNGs at 400px wide, and use min/maxdepth options to find instead of depth