DB: Post-Deploy script: add new periods
WEB: fix save and export

add templates
WEB: same fixes