Amends to import routines and sql queries for listing page