fixed verbose mode and added version info

fixed verbose mode and added version info