Why officials become scripted during a financial crisis