added history yaml, additional error messaging