Added a hack so that the app can be used with 'lookup' alone (closes #32).