Import cleaning and database print