add verbose options to some scripts and fix some bugs