improves

improve exception control and add auto executable feature