Rescan database function added + testing listing