Add ability to run snippet when evaluating branch

Or use the on error branch option and return false.