Fixed a bug where the program would terminate early because the
names in the database were not unique - overcome this by using the
new option -F