templates changes and default DB script