Add CC validations at the end and USE database_name; line at the beggining.