Terrorists plotted to behead hostages