clean tmpdirs prior to building; add syncs; use :static from boot config