Detect tty and don't pass -it
Merge pull request #75 from ibuildthecloud/no-tty

Detect tty and don't pass -it