Added script to refine breaks
Changed "die" to $self->log->error()