move all mdata-setup for includes