Fixing output selections and output scripts.