use eclipse
event listener for fails

update event listener for fails to prevent deadlock on cascade
failures, added resource permission, styled context script better