Take care of the transaction if there are no enabled scripts.