Regenerate before deployment