Export modules on save