Framework and database scripts