write state files for milan