added a -l switch. closes #9