I do prefer to set simple attribute overrides in the attribute file unless there is some logic that must be implemented at runtime.