Bugfix for last commit
Fixed a bug requiring -t to be used before -l