added database backup and trigger sql script