create alert file and add text variables