support error handling with node-notifier
supporting specify init template