removed unistd/isatty for non unix compatibility