added cerca and database script