load on generate (so validations work immediately) and log errors