fixed syntax for OS X and added more informative info comand