restyle, sql queries, import