Add run_database_tasks configuration

Fix #3