modified Hail for use when prototyping locally + added examples of use