Added creation_date column to curs tables
Update to version v580
Fix compilation errors in email templates
Update to version v581