fixes importers and adds tasks for gallery truncation