reverted script back to multiple ai file outputs