cleanups, stop writing directly to web dir, but use LDM