Modules config, and database script