Update index.js

Added optional verbose flag to display console.log for startup / shutdown