auto-generate seed file if needed