Added -t option to force terminal