migrate new-static to static; better STATIC_DIR setting.