prepped all queries for initial import